package com.wjy.game.message.data.req;

import com.wjy.game.enums.Operate;
import com.wjy.game.message.ReqMessageData;
import lombok.Data;

@Data
public class TalkReq implements ReqMessageData {

    private String roomId;

    private String playerId;

    private String playerName;

    private String content;

    @Override
    public String identify() {
        return playerId;
    }

    @Override
    public Operate operate() {
        return Operate.TALK;
    }
}
